<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $title; ?></title>
        <?php echo link_tag('css/main.css' . '?' . time()); ?>
        <?php echo link_tag('css/rounded-corners.css' . '?' . time()); ?>


        <script type="text/javascript" src="<?php echo base_url() . ('js/jquery-1.7.1.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo base_url() . ('js/jquery-ui.min.js'); ?>"></script>

        <script type="text/javascript">

            $(document).ready(function() {
<?php //The php var below contains javascript loaded and used from the calling controller
echo isset($additional_javascript_doc_ready_functions) ? $additional_javascript_doc_ready_functions : ''; ?>		 }	
                    );//End of document ready

<?php //The php var below contains additional javascript functions created in calling controller
echo isset($additional_jquery_javascript) ? $additional_jquery_javascript : ''; ?>
        </script>                
    </head>

    <body>
        <div class="container">
            <div class="cb">
                <div class="bt"><div></div></div>
                <div class ="i1">
                    <div class ="i2">
                        <div class ="i3">
                            <div class="header">
                                <div>
                                    <div style="float:left;">
                                        <a href="/index.php/welcome"><image src="<?php echo base_url() . '/images/cac.gif'; ?>"/></a>
                                    </div>
                                    <div style="clear:both;"></div>
                                </div>
                            </div>
                        </div>
                            <div class="container auth-div" >
                                <div class="pageTitle"></div>
                                <div class="pageTitleBorder"></div>

                                <b>Please login with your User Name and password below:</b>

                                <div id="infoMessage" class="info-message"><?php echo $message; ?></div>

                                <?php echo form_open('login'); ?>

                                <p>
                                    <label for="_username" accesskey="u"><u>U</u>ser Name:</label> <?php echo form_input($username); ?>
                                </p>

                                <p>
                                    <label for="_password" accesskey="p"><u>P</u>assword:</label> <?php echo form_input($password); ?>
                                </p>
                                <p>
                                    <?php echo form_submit('submit', 'Login', 'class="submit-button"'); ?>
                                </p>
                                <p>
                                    <i>Accounts reserved for CAVW members only.</i>
                                </p>
                                <p>
                                    <i>Not a member yet?  Click here to become one.</i>
                                </p>
                                <p>
                                    &nbsp;
                                </p>
                                
                                <?php echo form_close(); ?>
                            </div>
                    </div></div></div>
            <div class="bb"><div></div></div>
        </div>
    </div>
    Copyright 2012 by Central Alabama VW Club
</body>
</html>